/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo902;

/**
 *
 * @author Administrator
 */
import java.util.*;

public class StringMethod {
    public static String getName(String name){
        return "hello"+name;

    }
    public static boolean HiString(String name){
//        if(name.length()<2)return false;
//        if(name.substring(0, 2).equals("hi")){
//          return true;
//        }else{
//            return false;
//        }
        return name.startsWith("hi");
        
        
    }
    
    

    public static void main(String[] args) {
        String name1;
        Scanner reader = new Scanner(System.in);
        name1 = reader.next();
        //System.out.println(getName(name1));
        System.out.println(HiString(name1));

       

    }
}
